﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="CommonEditorPage.aspx.cs" Inherits="SBACN.WebSite.Admin.AboutGuild.CommonEditorPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<script src="../../js/jquery-1.7.1.js" type="text/javascript"></script>
	<script src="../../xheditor/xheditor-1.1.13-zh-cn.min.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(function () {
			$("#<%= Editor.ClientID %>").xheditor({
				upLinkUrl: "../../Handler/UploadHandler.ashx?tc=<%= DIC %>", upLinkExt: "zip,rar,txt,xls,pdf",
				upImgUrl: "../../Handler/UploadHandler.ashx?tc=<%= DIC %>", upImgExt: "jpg,jpeg,gif,png",
				upFlashUrl: "../../Handler/UploadHandler.ashx?tc=<%= DIC %>", upFlashExt: "swf",
				upMediaUrl: "../../Handler/UploadHandler.ashx?tc=<%= DIC %>", upMediaExt: "avi"
			});
		})
		function Btn_Cancel() {
			location.href = "";
		}
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<table>
		<tr>
			<td>
				标题：
			</td>
			<td>
				<asp:TextBox ID="ConTitle" runat="server"></asp:TextBox>
			</td>
		</tr>
		<tr>
			<td>
				内容：
			</td>
			<td>
				<asp:TextBox ID="Editor" runat="server" TextMode="MultiLine" Width="80%" Rows="30"></asp:TextBox>
			</td>
		</tr>
		<tr>
			<td>
				<asp:Button ID="Button1" runat="server" Text="发布" OnClick="Button1_Click" />
				<input type="button" name="cancel" id="cancel" onclick="Btn_Cancel();" value="取消" />
			</td>
		</tr>
	</table>
</asp:Content>
